package com.apps.saspect;

import com.apps.sconfig.enums.LockType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 该方法必须支持什么线程锁模式，分布式还是单机锁
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SuportLockModel {

    LockType type() default  LockType.LOCAL;
}
